# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=epson-inkjet-printer-escpr
pkgver=1.7.7
pkgrel=0
pkgdesc="Epson Inkjet Printer Driver (ESC/P-R) for Linux"
url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
arch="all"
license="GPL-2.0-or-later"
depends="cups-filters"
makedepends="cups-dev"
source="$pkgname-$pkgver.tar.gz::https://download3.ebz.epson.net/dsc/f/03/00/10/49/18/f3016be6120a7271a6d9cb64872f817bce1920b8/epson-inkjet-printer-escpr-$pkgver-1lsb3.2.tar.gz"
options="!check" # no test suite provided

build() {
	./configure \
		--disable-static \
		--prefix=/usr \
		--with-cupsfilterdir=/usr/lib/cups/filter \
		--with-cupsppddir=/usr/share/ppd
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9663b9ed425fbe5d3f2b6f85f036cdbd230665919e2cc9d62a33ebae85a0068513417209dae97ce55e406124b92c96c455cdc204d3d2335f4215f57b79f9d2a9  epson-inkjet-printer-escpr-1.7.7.tar.gz"
